import axios from 'axios'
// import  instance  from "../../static/js/con.js";

// export function handleLogin (data) {
//     return instance.post('/ds/user/login', data)
//   }


export function send(url,type,data){
    var d = new FormData();
    for(var key in data){
        d.append(key,data[key])
    }
    return axios({
        url:url,
        method:type,
        data:d,
    })
}
